package jianzhi

func firstUniqChar(s string) byte {
	times := [26]int{}
	for _, v := range s {
		times[v-'a']++
	}

	for _, v := range s {
		if times[v-'a'] == 0 {
			return byte(v)
		}
	}

	return ' '
}
